﻿/*******************************************************************************
 * Copyright © 2016
 * 
 * Description: MVC快速开发平台  FROM http://xmwxgn.com
 *
*********************************************************************************/
using System.Data.Entity.ModelConfiguration;
using ZFine.Domain.Entity;

namespace ZFine.Mapping
{
    public class RoleAuthorizeMap : EntityTypeConfiguration<RoleAuthorizeEntity>
    {
        public RoleAuthorizeMap()
        {
            this.ToTable("Sys_RoleAuthorize");
            this.HasKey(t => t.F_Id);

            Property(p => p.F_Id).HasMaxLength(50);
           
            Property(p => p.F_CreatorUserId).HasMaxLength(50);


            Property(p => p.F_ItemId).HasMaxLength(50);
            Property(p => p.F_ObjectId).HasMaxLength(50);
            Property(p => p.F_CreatorUserId).HasMaxLength(500);
        }
    }
}
